﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage_1.master" AutoEventWireup="true" CodeFile="DiscussionNewTopicPage.aspx.cs" Inherits="DiscussionNewTopicPage" %>

<%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit.HTMLEditor" tagprefix="cc1" %>
<%@ Register Assembly="MSCaptcha" Namespace="MSCaptcha" TagPrefix="cc1" %>


<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder" Runat="Server">

    <link href="WebsitePractice.css" rel="stylesheet" />

    <div class="main">
            <div class="heading_1">
                <div class="heading_2">
                    <h1> New Discussion </h1>
                </div>
            </div>
            <div class="content">
                <div class="table_con">
                    <table class="auto-style1">
                    <tr>
                        <td class="auto-style4">
                            <br />
                            <asp:Label ID="Label2" runat="server" Text="Thread Name :-"></asp:Label>
                        </td>
                        <td class="auto-style3">
                            <br />
                            <asp:TextBox ID="txt_name" runat="server" Width="250px"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td class="auto-style4">
                            <br />
                            <asp:Label ID="Label3" runat="server" Text="Thread Description"></asp:Label>
                        </td>
                        <td class="auto-style3">
                            <br />
                            <asp:TextBox ID="txt_pass" runat="server" Width="250px" TextMode="MultiLine"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td class="auto-style7" align="top">
                            <asp:Label ID="Label4" runat="server" Text="Message Text :-"></asp:Label>
                        </td>
                        <td class="auto-style8">
                            <asp:ScriptManager ID="ScriptManager1" runat="server">
                            </asp:ScriptManager>
                            <br />
                            <cc1:Editor ID="Editor1" runat="server" Width="600px" Height="300px" />
                            <br />
                        </td>
                    </tr>
                    <tr>
                        <td class="auto-style5">
                            <asp:Label ID="Label5" runat="server" Text="Message Option :-"></asp:Label>
                        </td>
                        <td class="auto-style6">
                            <asp:TextBox ID="txt_lname" runat="server" Width="250px"></asp:TextBox>
                            <br />
                        </td>
                    </tr>
                    <tr>
                        <td class="auto-style4">
                            <br />
                            <asp:Label ID="Label6" runat="server" Text="Security Code :-"></asp:Label>
                        </td>
                        <td class="auto-style3">
                            
      <div>
        <cc1:CaptchaControl ID="Captcha1" runat="server" CaptchaBackgroundNoise="Low" 
            CaptchaLength="5" CaptchaHeight="60" CaptchaWidth="200" 
            CaptchaLineNoise="None" CaptchaMinTimeout="5" 
            CaptchaMaxTimeout="240" FontColor = "#529E00" Width="198px" /> 
    </div>
        <asp:TextBox ID="txtCaptcha" runat="server"></asp:TextBox>
        <br />
        <asp:Button ID="btnVerify" runat="server" Text="Verify" OnClick="btnVerify_Click" />
        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="*Required" ControlToValidate = "txtCaptcha"></asp:RequiredFieldValidator>
        <br />
        <br />
        <asp:Label ID="lblMessage" runat="server" Font-Names = "Arial" Text=""></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td class="auto-style2" colspan="2" align="center">
                            <br />
                            <asp:Button ID="btn_pre" runat="server" Text="Preview" Width="125px"  />
                            <asp:Button ID="btn_submit" runat="server" Text="Submit" Width="125px"  />
                            <asp:Button ID="btn_cancel" runat="server" Text="Cancel" Width="125px" />
                        </td>
                    </tr>
                    </table>

                </div>     
            </div>
          
        </div>

</asp:Content>

<asp:Content ID="Content3" runat="server" contentplaceholderid="head">
    <style type="text/css">
        .auto-style1 {
            width: 756px;
            height: 665px;
            margin-left: 0px;
        }
        .auto-style2 {
        }
        .auto-style3 {
            width: 383px;
        }
        .auto-style4 {
            width: 119px;
        }
        .auto-style5 {
            width: 119px;
            height: 12px;
        }
        .auto-style6 {
            width: 383px;
            height: 12px;
        }
        .auto-style7 {
            width: 119px;
            height: 332px;
        }
        .auto-style8 {
            width: 383px;
            height: 332px;
        }
    </style>
</asp:Content>


